/**
 * nghilt
 * 2011/09/26
 *
 * Copyright by N&N.,Inc
 */
package vn.nnn.shogi.quanco;

import java.awt.Rectangle;
import java.util.ArrayList;

import javax.swing.JApplet;

import vn.nnn.shogi.board.Board;

/**
 * 
 */
public class QuanTotPhongCap extends QuanTuongVang {

	public QuanTotPhongCap( Rectangle toaDo, int color, boolean normalDirection, JApplet mainApplet ) {
		super( toaDo, color, normalDirection, mainApplet );	
	}

	@Override
	public boolean canRelease( Board board, Rectangle destination,
			ArrayList<QuanCo> listQuanCo ) {
		return false;
	}
	
	@Override
	public QuanCo getQuanTruocKhiPhong() {
		return new QuanTot( toaDo, color, normalDirection, getMainApplet() );		
	}
}
